﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Calculation.aspx.vb" Inherits="WebApplication1.Calculation" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    Input your First Number Here<asp:TextBox ID="TBFirstNumber" runat="server"></asp:TextBox>
<asp:RangeValidator ID="RangeValidator1" runat="server" 
    ControlToValidate="TBFirstNumber" ErrorMessage="1-1000" ForeColor="Red" 
    Type="Integer"></asp:RangeValidator>
<br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
    ControlToValidate="TBFirstNumber" ErrorMessage="It is required"></asp:RequiredFieldValidator>
<br />
Input your Second Number Here<asp:TextBox ID="TBSecondNumber" runat="server"></asp:TextBox>
<asp:RangeValidator ID="RangeValidator2" runat="server" 
    ControlToValidate="TBSecondNumber" ErrorMessage="1-1000" ForeColor="Red" 
    Type="Integer"></asp:RangeValidator>
<br />
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
    ControlToValidate="TBSecondNumber" ErrorMessage="It is required"></asp:RequiredFieldValidator>
<br />
<asp:Button ID="Calculate" runat="server" Text="Resulting" />
<br />
<br />
<br />
<br />
<asp:Button ID="TBAddition" runat="server" Text="Addition" />
<br />
<asp:Button ID="TBSubtraction" runat="server" Text="Subtraction" />
<br />
<asp:Button ID="TBMyltiplication" runat="server" Text="Multiplication" />
<br />
<asp:Button ID="TBDivision" runat="server" Text="Division" />
<br />
<br />
<br />
<asp:Label ID="LBLResult" runat="server"></asp:Label>
</asp:Content>
